package com.proposition.commons.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 组卷策略
 *
 * @author Administrator
 */
@Alias("StrategyOne")
@TableName("paper_strategy_one")
public class StrategyOne extends Model<StrategyOne> {

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@TableId
	private int id;
	private String exam1;
	@TableField("exam2_sk")
	private int exam2SK;
	@TableField("exam2_fk")
	private int exam2FK;
	@TableField("exam2_nk")
	private int exam2NK;
	@TableField("exam2_ek")
	private int exam2EK;
	@TableField("exam2_cz")
	private int exam2CZ;
	@TableField("exam3_sk")
	private int exam3SK;
	@TableField("exam3_fk")
	private int exam3FK;
	@TableField("exam3_nk")
	private int exam3NK;
	@TableField("exam3_ek")
	private int exam3EK;
	@TableField("exam3_cz")
	private int exam3CZ;
	@TableField("created")
	private Timestamp created;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getExam1() {
		return exam1;
	}

	public void setExam1(String exam1) {
		this.exam1 = exam1;
	}

	public int getExam2SK() {
		return exam2SK;
	}

	public void setExam2SK(int exam2SK) {
		this.exam2SK = exam2SK;
	}

	public int getExam2FK() {
		return exam2FK;
	}

	public void setExam2FK(int exam2FK) {
		this.exam2FK = exam2FK;
	}

	public int getExam2NK() {
		return exam2NK;
	}

	public void setExam2NK(int exam2NK) {
		this.exam2NK = exam2NK;
	}

	public int getExam2EK() {
		return exam2EK;
	}

	public void setExam2EK(int exam2EK) {
		this.exam2EK = exam2EK;
	}

	public int getExam2CZ() {
		return exam2CZ;
	}

	public void setExam2CZ(int exam2CZ) {
		this.exam2CZ = exam2CZ;
	}

	public int getExam3SK() {
		return exam3SK;
	}

	public void setExam3SK(int exam3SK) {
		this.exam3SK = exam3SK;
	}

	public int getExam3FK() {
		return exam3FK;
	}

	public void setExam3FK(int exam3FK) {
		this.exam3FK = exam3FK;
	}

	public int getExam3NK() {
		return exam3NK;
	}

	public void setExam3NK(int exam3NK) {
		this.exam3NK = exam3NK;
	}

	public int getExam3EK() {
		return exam3EK;
	}

	public void setExam3EK(int exam3EK) {
		this.exam3EK = exam3EK;
	}

	public int getExam3CZ() {
		return exam3CZ;
	}

	public void setExam3CZ(int exam3CZ) {
		this.exam3CZ = exam3CZ;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	@Override
	public String toString() {
		return "StrategyOne{" +
				"id=" + id +
				", exam1='" + exam1 + '\'' +
				", exam2SK=" + exam2SK +
				", exam2FK=" + exam2FK +
				", exam2NK=" + exam2NK +
				", exam2EK=" + exam2EK +
				", exam2CZ=" + exam2CZ +
				", exam3SK=" + exam3SK +
				", exam3FK=" + exam3FK +
				", exam3NK=" + exam3NK +
				", exam3EK=" + exam3EK +
				", exam3CZ=" + exam3CZ +
				", created=" + created +
				'}';
	}
}
